<template>
    <div>
        <h1>TestMock</h1>
        <div>
            <button @click="testMock">TestMock</button>

        </div>
    </div>
</template>

<script lang="ts" setup>
import { getData } from '../api/mock'


const testMock = () => {
  getData('/mock').then(res => {
    console.log(res.data) 
  })
}
</script>


<style lang="less" scoped>
  

</style>